package com.project.core.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 贴子实体类
 * @author dongxiaoman
 * @date 2014-8-30
 */
public class Post implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2452452739650872857L;
	
	/** 贴子ID */
	private Integer post_id; 
	/** 贴子标题 */
	private String post_title;
	/** 贴子内容(需要有限制) */
	private String post_content;
	/** 发帖人ID */
	private Integer post_sender;
	/** 发帖时间 */
	private Date post_sendtime; 
	/** 小类ID */
	private Integer post_smallid;
	/** 贴子类型图片 */
	private String post_imgtype;
	/** 发帖类型 */
	private Integer post_typeId;
	/** 帖子状态(1:开放、2:热门、3:精华、4:置顶) */
	private Integer post_state;
	/** 帖子显示顺序(0正常、1为版置顶、2为区置顶、3为总置顶) */
	private Integer post_order;
	/** 最后回复用户ID */
	private Integer post_lastbackuserid;
	/** 最后回帖时间(默认为发帖时间) */
	private String post_lastbackdate;
	/** 浏览次数 */
	private String post_browsecount;
	/** 回复次数 */
	private String post_backcount;
	
	public Post() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Post(Integer post_id, String post_title, String post_content,
			Integer post_sender, Date post_sendtime, Integer post_smallid,
			String post_imgtype, Integer post_typeId, Integer post_state,
			Integer post_order, Integer post_lastbackuserid,
			String post_lastbackdate, String post_browsecount,
			String post_backcount) {
		super();
		this.post_id = post_id;
		this.post_title = post_title;
		this.post_content = post_content;
		this.post_sender = post_sender;
		this.post_sendtime = post_sendtime;
		this.post_smallid = post_smallid;
		this.post_imgtype = post_imgtype;
		this.post_typeId = post_typeId;
		this.post_state = post_state;
		this.post_order = post_order;
		this.post_lastbackuserid = post_lastbackuserid;
		this.post_lastbackdate = post_lastbackdate;
		this.post_browsecount = post_browsecount;
		this.post_backcount = post_backcount;
	}
	public Integer getPost_id() {
		return post_id;
	}
	public void setPost_id(Integer post_id) {
		this.post_id = post_id;
	}
	public String getPost_title() {
		return post_title;
	}
	public void setPost_title(String post_title) {
		this.post_title = post_title;
	}
	public String getPost_content() {
		return post_content;
	}
	public void setPost_content(String post_content) {
		this.post_content = post_content;
	}
	public Integer getPost_sender() {
		return post_sender;
	}
	public void setPost_sender(Integer post_sender) {
		this.post_sender = post_sender;
	}
	public Date getPost_sendtime() {
		return post_sendtime;
	}
	public void setPost_sendtime(Date post_sendtime) {
		this.post_sendtime = post_sendtime;
	}
	public Integer getPost_smallid() {
		return post_smallid;
	}
	public void setPost_smallid(Integer post_smallid) {
		this.post_smallid = post_smallid;
	}
	public String getPost_imgtype() {
		return post_imgtype;
	}
	public void setPost_imgtype(String post_imgtype) {
		this.post_imgtype = post_imgtype;
	}
	public Integer getPost_typeId() {
		return post_typeId;
	}
	public void setPost_typeId(Integer post_typeId) {
		this.post_typeId = post_typeId;
	}
	public Integer getPost_state() {
		return post_state;
	}
	public void setPost_state(Integer post_state) {
		this.post_state = post_state;
	}
	public Integer getPost_order() {
		return post_order;
	}
	public void setPost_order(Integer post_order) {
		this.post_order = post_order;
	}
	public Integer getPost_lastbackuserid() {
		return post_lastbackuserid;
	}
	public void setPost_lastbackuserid(Integer post_lastbackuserid) {
		this.post_lastbackuserid = post_lastbackuserid;
	}
	public String getPost_lastbackdate() {
		return post_lastbackdate;
	}
	public void setPost_lastbackdate(String post_lastbackdate) {
		this.post_lastbackdate = post_lastbackdate;
	}
	public String getPost_browsecount() {
		return post_browsecount;
	}
	public void setPost_browsecount(String post_browsecount) {
		this.post_browsecount = post_browsecount;
	}
	public String getPost_backcount() {
		return post_backcount;
	}
	public void setPost_backcount(String post_backcount) {
		this.post_backcount = post_backcount;
	}
	
}
